﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Anata.Client
{
    /// <summary>
    /// Data service used by the <c>ImageLoaderViewModel</c> to obtain data
    /// </summary>
    public interface IKonsumenProvider
    {
        void LazyFetchKonsumens(int page, Action<List<Konsumen>> callback);
        void LazyFetchKonsumen(int idKonsumen, Action<Konsumen> callback);
        void LazyUpdateKonsumen(Konsumen pKonsumen, Action<Konsumen> callback);

        void LazyFetchKonsumens(int page, Action<List<KonsumenThumbnailViewModel>> callback);
    }

}
